.goods{
    width: 100%;
    min-height: 10rem;
    .goods-items{
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        .goods-item{
            position: relative;
            flex: 0 0 49.5%;
            width: 49%;
            margin-bottom: 1%;
            background: #fff;
            &:nth-of-type(odd){
                margin-right: 0.5%;
            }
            &:nth-of-type(even){
                margin-left: 0.5%;
            }
            .goods-item-img{
                position: relative;
                width: 100%;
                height: 3.56rem;
                overflow: hidden;
                img{
                    width: 100%;
                    height: 3.56rem; 
                }
                .goods-img-tips{
                    position: absolute;
                    bottom: 0;
                    left: 0;
                    width: 100%;
                    height: 0.4rem;
                    line-height: 0.4rem;
                    font-size: 0.20rem;
                    color: #fff;
                }
            }
            
            .title{
                text-align: left;
                margin: 0.2rem 2%;
                span{
                    display: inline-block;
                    width: 0.28rem;
                    height: 0.28rem;
                    margin-right: 0.1rem;
                    &.TBimg{
                        background: url(../assets/img/taobao.png) center center no-repeat;
                        background-size: contain;
                    }
                    &.TMimg{
                        background: url(../assets/img/tmall.png) center center no-repeat;
                        background-size: contain;
                    }
                    &.JDimg{
                        background: url(../assets/img/jd.png) center center no-repeat;
                        background-size: contain;
                    }
                    &.PDDimg{
                        background: url(../assets/img/pinduoduo_icon.png) center center no-repeat;
                        background-size: contain;
                    }
                } 
            } 
            .sale{
                margin: 0 2%;
                display: flex;
                align-items: center;
                justify-content: space-between;
                font-size: 0.20rem;
                color: #999;
                .oldprice span{
                    text-decoration: line-through;
                }
            }
            .price{
                margin: 0 2%;
                margin-top: 0.2rem;
                margin-bottom: 2%;
                display: flex;
                align-items: center;
                justify-content: space-between;
                .icon{
                    display: inline-block;
                    width: 0.8rem;
                    height: 0.32rem;
                    line-height: 0.32rem;
                    text-align: center;
                    border-radius: 0.04rem;
                    vertical-align: middle;
                    font-size: 0.20rem;
                    color: #fff;
                }
                .coupon-price{
                    font-size: 0.20rem;
                    margin-left: -0.6rem;
                    span{
                        font-size: 0.26rem;
                        font-weight: 700;
                    }
                }
                .coupon{
                    width: 1rem;
                    height: 0.34rem;
                    line-height: 0.34rem;
                    font-size: 0.20rem;
                    color: #fff;
                    text-align: center;
                    background-image: url(../assets/img/quan_bg.png);
                    background-position: right center;
                    background-repeat: no-repeat;
                    background-size: contain;
                }
                .gr-price-right{
                    position: relative;
                    width: 0.88rem;
                    height: 0.34rem;
                    line-height: 0.34rem;
                    text-align: center;
                    color: #fff;
                    font-size: 0.20rem;
                    div{
                        position: absolute;
                        width: 0.1rem;
                        height: 0.1rem;
                        border-radius: 0.1rem;
                        background: #fff;
                        top: 50%;
                        margin-top: -0.05rem;
                        &.dotl{
                            left: -0.05rem;
                        }
                        &.dotr{
                            right: -0.05rem;
                        }
                    }
                }
            }
        }
    }
    .goods-none{
        padding: 0.4rem 0;
        width: 100%;
        img{
            width: 60%;
        }
    }
}